using System;
using MSXMLLib;
using System.Windows.Forms;

namespace SiteTermViewer
{
	/// <summary>
	/// Summary description for XMLNode.
	/// </summary>
	public class XMLNode : TreeNode
	{
		// Hold the System.Type associated with this node
		public IXMLDOMNode m_XMLNode;

		public XMLNode(IXMLDOMNode xmlnode)
		{
			m_XMLNode = xmlnode;
			Text = xmlnode.attributes.getNamedItem("displayName").text;
		}

		public XMLNode(string xmlnodename)
		{
			m_XMLNode = null;
			Text = xmlnodename;
		}

		public XMLNode()
		{
			m_XMLNode = null;
		}
	}
}
